package basic;

public class Student {
    private String Sno;// Student ID
    private String Cno;// class ID
    private String name;// name
    private String gender;// gender
    private int age; //age
    private String show;//show
    public Student(String sno, String cno, String name, String gender, int age) {
        Sno = sno;
        Cno = cno;
        this.name = name;
        this.gender = gender;
        this.age = age;
        this.show=" Sno:"+Sno+ " Cno"+Cno+" name:"+name+" gender"+gender+" age:"+age;
        System.out.println(show);
    }

    //GET
    public String getSno() {
        return Sno;
    }

    public String getCno() {
        return Cno;
    }

    public String getName() {
        return name;
    }

    public String getGender() {
        return gender;
    }

    public int getAge() {
        return age;
    }

    public static void main(String[] args) {
        new Student("202034322","20991","nike","male",19);
    }
}
